home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1992 November
/
1992-11.d64
/
locate demo
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
673b
|
37 lines
10 rem"[169][147] [210][255] [253][174] [158][183][134] [253][174] [158][183][138][168][166][224][176]![192]([176] [240][255][160][136][177]Z[170][224],[208][234] [253][174] [158][183][224][176][142][134]{$60}[162]l[139][227]
20 cl[178][194](43)[170]256[172][194](44)[170]14:at[178]cl[170]5:bb[178]at[170]110
30 a$[178]"l o c a t e":b$[178]"locate"
40 pp[178]15
50 [151]53280,0:[151]53281,0
60 [158]cl,10,09,1:[153]a$
70 [129]a[178] 1 [164] 09
80 [158] at,a,a,a:[153]b$
81 [158] at,a,35[171]a,a:[153]b$
90 [130]
100 [129] a[178]13 [164] 1 [169] [171]1
110 [158] at,a[170]10,a[170]10,15[171]a:[153]b$
120 [130]
130 [129] a[178]1 [164]100
140 [158]at,10,09,a[171][181](a[173]15)[172]15:[153]a$
150 [130]
160 :
170 [158]cl,5,3,1
180 [153]"locate allows you to position text"
190 [158]at,7,5,2
200 [153]"anywhere"
210 [158]at,9,13
220 [153]"on"
230 [158]at,11,15
240 [153]"the
250 sysat,13,20
260 print"screen"
270 sysat,pp,5,3
280 print"in"
290 sysat,pp,10,6
300 print"any"
310 sysat,pp,15,11
320 print"color"
330 fora=0 to 15:sysat,pp,22+a,a
340 print"!"
350 next